//package com.lengyu.kangdeli.security.rest;
//
//import com.lengyu.kangdeli.common.HttpResultDto;
//import com.lengyu.kangdeli.entity.User;
//import com.lengyu.kangdeli.service.IUserService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping("/api")
//public class UserRestController {
//
//   @Autowired
//   private IUserService userService;
//
//   @GetMapping("/user")
//   public HttpResultDto<User> getActualUser() {
//      User user = new User();
//      user.setUsername("username");
//      return HttpResultDto.success(user);
//   }
//}
